Model Table PURCHASE ORDER LINE

This model fact represents purchase order line and is based on the IFS Cloud fact view FACT_PURCHASE_ORDER_LINE. All models that refer to this table will have the attributes and hierarchies as described below.

Attributes

Attribute Description (where applicable)
Blanket Order (Agreement No)Blanket Order No for Order Lines bought against agreement.
Buying Unit of MeasureDefault Buying Unit of Measure Code
Currency CodeOrder Currency Code
Delivery Days Early IntervalInterval describing the number of days an order line was delivered too early compared to wanted delivery date.
Delivery Days Late IntervalInterval describing the number of days an order line was delivered too late compared to wanted delivery date.
Delivery Days Off Time IntervalInterval describing the number of deviation days an order line was delivered compared to wanted delivery date.
Demand CodeReason for Purcahse Order creation
Freeze FlagIndicator telling whether order line is frozen.
Invoicing SupplierInvoicing Supplier ID
Purchase OrderPurchase Order Number
Purchase Order LineBuilt as PURCHASE ORDER + ' - ' + LINE NUMBER + ' - ' + RELEASE NUMBER
Purchase Order Line StatusStatus description of order line
RentalTrue/False indicator
Requisition NoPurchase Requisition number if applicable

Measures

Aggregation of measures is based on SUM if not explicitly noted.

This section describes the basic measures in the cube. These are either measures defined in the core Information Source, in the model itself or in the ETL process. The columns have the following meaning:

Measure Calculated Y/N Contains Time Intelligence Y/N Definition/Note (where applicable) Aggregation Type Hidden Y/N Tabular Expression
Additional Cost Amount CurrNYSumNSUM([ADDITIONAL_COST_AMOUNT])
Avg Delivery Days EarlyYYSum Delivery Days Early/Count Early Order LinesAverageN DIVIDE([Sum Delivery Days Early],[Count Early OrderLines])
Avg Delivery Days LateYYSum Delivery Days Late/Count Late Order LinesAverageN DIVIDE([Sum Delivery Days Late],[Count Late OrderLines])
Avg Delivery Days Off TimeYYSum Delivery Days Off Time/(Count Early Order Lines + Count Late Order Lines) AverageN DIVIDE([Sum Delivery Days Off Time],([Count Early OrderLines]+[Count Late OrderLines]))
Base PriceNNSumNSUM([BUY_UNIT_PRICE])
Complete Orderlines %YYCount Complete Orderlines/ Count Purchase Order LinesAverageN DIVIDE([Count Complete OrderLines], [Count Purchase OrderLines])
Count Agreement OrderLinesNYSumNSUM([COUNT_AGREEMENT_ORDER])
Count Cancelled OrderLinesNYSumNSUM([COUNT_CANCELLED_ORDER_LINE])
Count Complete OrderLinesYYTRUE if Incomplete Orderlines = FALSESumNSUM([Count_Complete_Order_Line])
Count Damaged OrderLinesNYSumNSUM([COUNT_DAMAGE_ORDER_LINE])
Count Early OrderLinesNYSumNSUM([COUNT_EARLY_ORDER_LINE])
Count Incomplete OrderLinesNYSumNSUM([COUNT_INCOMPLETE_ORDER_LINE])
Count Late OrderLinesNYSumNSUM([COUNT_LATE_ORDER_LINE])
Count OrderLines On TimeNYSumNSUM([COUNT_ON_TIME_ORDER_LINE])
Count Perfect OrderLinesNYSumNSUM([COUNT_PERFECT_ORDER_LINE])
Count Purchase OrderLinesNYSumNSUM([COUNT_ORDER_LINE])
Discount Amount BaseNYSumNSUM([DISCOUNT_AMOUNT_BASE])
Discount Amount CurrNSumNSUM([DISCOUNT_AMOUNT_CURR])
Discount Amount RCYYReporting Currency calculationSumNSUMX('PURCHASE ORDER LINE', DIVIDE([REP_CURR_DISCOUNT_AMOUNT_BASE],[Currency Rate]))
Early OrderLines %YYSumN DIVIDE( [Count Early OrderLines] , [Count Purchase OrderLines] )
Incomplete Orderlines %YYCount Incomplete Orderlines/ Count Purchase Order LinesAverageN DIVIDE([Count Incomplete OrderLines], [Count Purchase OrderLines])
Inv Qty ArrivedNYSumNSUM([INV_QTY_ARRIVED])
Inv Qty DamagedNYSumNSUM([INV_QTY_DAMAGED])
Inv Qty IncompleteNYSumNSUM([INV_QTY_INCOMPLETE])
Inv Qty InvoicedNYSumNSUM([INV_QTY_INVOICED])
Inv Qty On OrderNYSumNSUM([INV_QTY_ON_ORDER])
Inv Qty ReturnedNYSumNSUM([INV_QTY_RETURNED])
Inv Qty Returned CreditNYSumNSUM([INV_QTY_RETURNED_CREDIT])
Inv Qty Returned ReworkNYSumNSUM([INV_QTY_RETURNED_REWORK])
Inv Qty ScrappedNYSumNSUM([INV_QTY_SCRAPPED])
Inv Qty Scrapped At SupplierNYSumNSUM([INV_QTY_SCRAPPED_AT_SUPPLIER])
Inv Qty Scrapped CreditNYSumNSUM([INV_QTY_SCRAPPED_CREDIT])
Inv Qty Scrapped No CreditNYSumNSUM([INV_QTY_SCRAPPED_NO_CREDIT])
Late OrderLines %YYCount Late Orderlines/ Count Purchase Order LinesAverageN DIVIDE( [Count Late OrderLines] , [Count Purchase OrderLines] )
Net Amount POL RCYYReporting Currency calculationSumNSUMX('PURCHASE ORDER LINE', DIVIDE([REP_CURR_NET_LINE_PRICE_BASE],[Currency Rate]))
Net Amount in Base Curr POLNYSumNSUM([NET_LINE_PRICE_BASE])
Net Amount in Order Curr POLNNSumNSUM([NET_LINE_PRICE_CURR])
Orderlines On Time %YYCount Orderlines on Time/ Count Purchase Order LinesAverageN DIVIDE([Count OrderLines On Time] , [Count Purchase OrderLines])
Perfect Orderlines %YYCount Perfect Orderlines/ Count Purchase Order LinesAverageN DIVIDE( [Count Perfect OrderLines] , [Count Purchase OrderLines] )
Qty ArrivedNYSumNSUM([QTY_ARRIVED])
Qty InventNYSumNSUM([INVENT_QTY])
Qty Invoiced POLNYSumNSUM([QTY_INVOICED])
Qty PeggedNYSumNSUM([QTY_ON_ORDER])
Qty PurchaseNYSumNSUM([PURCHASE_QTY])
Qty ReturnedNYSumNSUM([QTY_RETURNED])
Qty Returned CreditNYSumNSUM([QTY_RETURNED_CREDIT])
Qty ScrappedNYSumNSUM([QTY_SCRAPPED])
Qty Scrapped CreditNYSumNSUM([QTY_SCRAPPED_CREDIT])
Qty Scrapped at SupplierNYSumNSUM([QTY_SCRAPPED_AT_SUPPLIER])
Sum Delivery Days EarlyNYSumYSUM([DELIVERY_DAYS_EARLY_MOD])
Sum Delivery Days LateNYSumYSUM([DELIVERY_DAYS_LATE_MOD])
Sum Delivery Days Off TimeNYSumYSUM([DELIVERY_DAYS_OFF_TIME_MOD])

Time Intelligence Measures

Time based measures are calculated in the cube with respect to other measures. The table below defines the meaning/definition of  the different time measures. These measures need to be used with a specific time dimension hierarchy [REPORTING_DATE].[RepDateMFHy].

Measure Meaning
YTD Aggregated value for current month in current  year. E.g. for period 202010 Ytd represents sum of periods 202000-202010.
R12 For a given period, the sum all months from one year back up to the previous month. E.g. Rolling 12 for 202010 is the sum of months 201910 - 202009
PY Previous Year
The value of the corresponding month one year back. E.g. for month 202010, the value of month 201910.
YTD PY Year to Date Previous Year
Aggregated value for corresponding month one year back. E.g. for month 202010 YTD Previous Year represents sum of months 201901-201910.
R12 PY Rolling 12 (completed) Months Previous Year
For a given month, first going one year back, then taking the sum of all months from one (more) year back up to the previous month. E.g. for month 202010 the sum of month 201810-201909
Avg XXX Ytd Sum XXX YTD/Count XXX YTD
Avg XXX R12 Sum XXX R12/Count XXX R12
XXX % YTD Count XXX YTD/Count YYY YTD
XXX % R12 Count XXX R12/Count XXX R12

USED BY MODEL(S)

Model Name Product Area
ProcurementSupply Chain

Data source Information

The data source for this object is defined using IFS Developer Tool. The data source contains a number of transformations where the model reads data from the last step, i.e. the Data source view name (DW Source View Name).

Additional information can be found in the IFS cloud documentation of Information Sources.

Model Table DW Source view (SQL Server) BI Access View Referenced Information Source Recommended Access Type
PURCHASE ORDER LINEFACT_PURCHASE_ORDER_LINE_TMFACT_PURCHASE_ORDER_LINE_BIFACT_PURCHASE_ORDER_LINEData Mart

SPECIAL INFO

This fact supports Reporting Date, i.e. a time dimension that can be used to when doing cross product/module reporting. This date is also used when finding the currency rate for calculation of reporting currency amounts.